home *** CD-ROM | disk | FTP | other *** search
/ Plug-In Power Pack for Netscape Communicator / Plug-In Power Pack for Netscape Communicator.iso / plugins / dataviews / dvtools / examples / windows / readme.txt
Encoding:
Text File  |  1997-05-08  |  2.3 KB  |  69 lines

  1. =======================================================================
  2. Introduction
  3.  
  4. This directory contains subdirectories for examples programs that
  5. combine DataViews and Windows programming. The programs are:
  6.  
  7.     dv_win        Shows the basics of displaying a view in a window
  8.             and handling the messages on the window.
  9.  
  10.     dv_mdi        Shows how to create and manage multiple windows
  11.             displaying views, based on the Windows MDI model.
  12.  
  13.         dv_ocx          Shows how to make a view ocx. This example allows the 
  14.                         user to change the view, update rate, double
  15.                         buffering, and update speed.
  16.  
  17.         mfc_mdi         Shows how to write a DataViews MDI application
  18.                         using the Visual C++ Developers Studio and the 
  19.                         Microsoft Foundation Classes.
  20.  
  21.     showfont        Displays the fonts available on your machine that
  22.                         you can use with DataViews. To use these fonts, 
  23.                         edit your DV.INI file.
  24.  
  25.         showfixw    Displays the fixed-width fonts available on 
  26.             your machine. To use these fonts for DataViews,
  27.             edit your DV.INI file.
  28.  
  29.                         Both programs for displaying fonts are located 
  30.                         in the fonts subdirectory.
  31.         
  32. For more information about dv_win and dv_mdi, see the Win32 programming
  33. chapter in the DataViews for Windows manual.
  34. =====================================================================
  35. To use dv_ocx or mfc_mdi, open the Developers Studio. Open the
  36. workspace using the MAK file provided in 
  37.  
  38.     <dataviews>\dvtools\examples\windows\<example_name>
  39.  
  40. and build the project.
  41.  
  42. To use the other  examples, first open an MS-DOS command prompt, and go to the 
  43. example's subdirectory:
  44.  
  45.     cd <dataviews>\dvtools\examples\windows\<example_name>
  46.  
  47. To make the example, type:
  48.  
  49.     nmake <example_name>.exe
  50.  
  51. For example:
  52.  
  53.     nmake dv_mdi.exe
  54.  
  55. To run an example:
  56.     Open the File Manager.
  57.     Go to the subdirectory of the example you want to run.
  58.     Select the name of the example executable.
  59.  
  60. You can also run the example from the command prompt.
  61. To run an example, type:
  62.  
  63.     <example_name>
  64.  
  65. All of the examples use a NULL path in their call to TInit(), so be sure 
  66. that the DVPATH configuration variable is set.
  67.  
  68.  
  69.